var flag = {
    other: true,
    h: true,
    active: false
};
console.log(flag ? 'active' : 'other');
var myBoolean = new Boolean(flag);
console.log('myBoolean', myBoolean); //myBoolean [Boolean: true]
